package org.dromara.crawler.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.crawler.domain.SiteManager;

public interface SiteManagerMapper extends BaseMapperPlus<SiteManager, SiteManager> {

    SiteManager findById(@Param("siteId") Long id);

    Page<SiteManager> queryByPage(@Param("page") Page<SiteManager> page, @Param(Constants.WRAPPER) Wrapper<SiteManager> queryWrapper);


}
